package config.autoconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "spring.httpclient")
public class HttpclientProperties {

    private Integer connectTimeOut = 1000;
    private Integer socketTimeOut = 100000;

    private String agetn = "agent";
    private Integer maxConnPerRoute = 10;
    private Integer maxConnTortal = 50;


    public Integer getConnectTimeOut() {
        return connectTimeOut;
    }

    public void setConnectTimeOut(Integer connectTimeOut) {
        this.connectTimeOut = connectTimeOut;
    }

    public Integer getSocketTimeOut() {
        return socketTimeOut;
    }

    public void setSocketTimeOut(Integer socketTimeOut) {
        this.socketTimeOut = socketTimeOut;
    }

    public String getAgetn() {
        return agetn;
    }

    public void setAgetn(String agetn) {
        this.agetn = agetn;
    }

    public Integer getMaxConnPerRoute() {
        return maxConnPerRoute;
    }

    public void setMaxConnPerRoute(Integer maxConnPerRoute) {
        this.maxConnPerRoute = maxConnPerRoute;
    }

    public Integer getMaxConnTortal() {
        return maxConnTortal;
    }

    public void setMaxConnTortal(Integer maxConnTortal) {
        this.maxConnTortal = maxConnTortal;
    }


}
